package com.yjtravel.strategy;

/**
 * @author 28336
 * @version 1.0
 * Create by 2024/3/29 9:57
 */
public class Main {

    public static void main(String[] args) {
        int cashType = 4;
        int price = 200;
        int num = 2;
        CashContext cc = new CashContext(cashType);
        double result = cc.getResult(price, num);
        System.out.println(result);
    }
}
